package common.core;


import java.awt.Point;
import java.util.ArrayList;
import java.util.List;

public class GameMap {
	
	private Tile[][] map;
	private List<Point> players;
	private Background background;
	
	public GameMap(Tile[][] map) {
		
		this.map = map;
		players = new ArrayList<Point>();
	}
		
	public Scenery getMap() {
		
		return new Scenery(map);
	}
	
	public void setBackground(Background bg) {
		
		background = bg;
	}
	
	
	public Background getBackground() {
		
		return background;
	}
			
	public boolean addPlayerPoint(Point p) {
		
		return players.add(p);
	}
	
	public List<Point> getPlayersPoint() {
		
		return players;
	}
}
